#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int N = 0;
    int U = 0;
    int D = 0;
    scanf("%d %d %d", &N, &U, &D);
    if (U > 100 || N > 100)
        scanf("%d %d %d", &N, &U, &D);
    int min = 0;
    while (N > 0)
    {
        if (N <= U)
        {
            min += 1;
            N -= U;
        }
        else
        {
            min += 2;
            N = N - U + D;
        }
    }
    printf("%d", min);
    return 0;
}